#ifndef __SPI4_H__
#define __SPI4_H__

#include "SPI_config.h"

#if USE_SPI_4

void SPI4_init();

#if SPI4_MOSI_ENABLE
void SPI4_write(uint8_t data);
#endif

#if SPI4_MISO_ENABLE
uint8_t SPI4_read();
#endif

#endif
#endif